import { S } from '../s';
import { IPSSysViewLogic } from './ipssys-view-logic';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSSysViewLogicImpl
  extends PSModelObjectImpl
  implements IPSSysViewLogic
{
  get codeName(): string {
    return this.M.codeName;
  }

  get logicType(): string {
    return this.M.logicType;
  }

  get viewLogicStyle(): string {
    return this.M.viewLogicStyle;
  }

  get viewLogicType(): string {
    return this.M.viewLogicType;
  }
  get cls(): string {
    return 'PSSysViewLogicImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._27e || cls == S._27f) return true;
    return super.instanceof(cls);
  }
}
